﻿namespace MuZa.MuZa
{
    internal static class MessageStatus
    {
        //when participant refuse the initiator request (msgStatus should be checked in AgentI)
        public static int RefusedByParticipant = 0;
        //when initiator refuse booking   (msgStatus should be checked in AgentP)
        public static int RefusedByInitiator = 1;
        //new request message from initiator (msgStatus should be checked in AgentP for replying and AgentI in the case of timeout)
        public static int UnreadMessage = 2;
        //when participant book resource for initiator  (msgStatus should be checked in AgentI for replying and AgentP in the case of timeout)
        public static int BookedByParticipant = 3;
        // when initiator checks booked message
        public static int CheckedBookedByParticipant = 33;
        //when initiator approve bookig  (msgStatus should be checked in AgentP)
        public static int AgreedByInitiator = 4;
        //when participant approve booking   
        public static int AgreedByParticipant = 5;
        //when participant notify about finishing the request  (msgStatus should be checked in AgentI)
        public static int FinishTaskByParticipant = 6;
        //when initiator checks the finished task  (msgStatus should be checked in AgentP)
        public static int CheckedFinishTaskByInitiator = 7;
        // successfuly done
        public static int SuccessfulyFinished = 110;

        public static int TrashMessage = 100;
    }
}